using System;

namespace Pay.Data
{
	/// <summary>
	/// 拓垦商城专题商品记录表
	/// </summary>
	[Serializable]
	public class TokenShopSubjectProduct
	{
		/// <summary>
		/// 记录Id
		/// [主键：√]
		/// [长度：19]
		/// [不允许为空]
		/// </summary>
		public long Id { get; set; }

		/// <summary>
		/// 专题Id
		/// [长度：19]
		/// [不允许为空]
		/// </summary>
		public long SubjectId { get; set; }

		/// <summary>
		/// 产品Id
		/// [长度：19]
		/// [不允许为空]
		/// </summary>
		public long ProductId { get; set; }

        /// <summary>
        /// 排序
        /// [长度：19]
        /// [不允许为空]
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 创建时间
        /// [长度：23，小数位数：3]
        /// [不允许为空]
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 商城专题
        /// </summary>
        public virtual TokenShopSubject Subject { get; set; }

        /// <summary>
        /// 产品
        /// </summary>
        public virtual Product Product { get; set; }
	}
}
